package com.yeheng.test.homework2;

/**
 * @PackgeName: com.yeheng.test
 * @ClassName: Singleton
 * @Author: YH
 * Date: 2021/1/1 23:24
 * project name: homework1
 * @Version:
 * @Description:
 */

//饥汉式
public class Singleton {
    public static Singleton sing = new Singleton();

    private Singleton(){

    }



}
